package com.bjpowernode.app;

import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;

import java.io.IOException;
import java.net.URL;

public class MyApp5 {
    public static void main(String[] args) {

        //运行时异常可以不用捕获，也可以编译
//        int  a=10;
//        System.out.println(a/0);
//        int[] a ={1,2,3};
//        System.out.println(a[5]);
//
//        Stu stu=null;
//        System.out.println(stu.getName());


        try {
            Class aClass = Class.forName("com.bjpowernode.beans.Stu");
            System.out.println("aaaaaaaaaaaaaaaaaaaaaaa");
        } catch (ClassNotFoundException e) {
            System.out.println("已经引发了异常");
        } finally {
            System.out.println("finally");
        }
        System.out.println("okokokko");

    }
}
